/**
 * Created by lcx on 2017/5/25.
 */
;(function () {
    'use strict'

    var $form_add_task = $('.add-task')
        , new_task = {}
    ;
    $form_add_task.on('submit', function (e) {
        e.preventDefault();
        alert($(this));
        alert($(this).find('intput[name=content]').val());
        new_task.content =
        console.log("new_task", new_task);
    })

})();